import { queryAll } from "../../database/dbUtils";
import fs from "fs";
const MenuList = async (ctx:any) => {
  let sql = 'select * from studentdata';
  let result = await queryAll(sql);
  ctx.status = 200;
  ctx.body = {
    code:'200',
    msg:'获取成功',
    data:result
  }
}
export {
  MenuList
}